package week9.q3;

public class Test {
    public static void main(String[] args) {
        CarShop shop= new CarShop();

       shop.sellCars(new BMWCar(),1);
       shop.sellCars(new ToyotaCar(),1);
        System.out.println("总销售额"+shop.getTotalPrice()+"万元");


    }
}
